home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-13 | 7.6 KB | 224 lines | [TEXT/MPS ] |
- #==============================================================================================
- #
- # Make FILE: LaserWriterIISC.make
- #
- # VERSION: 1.0
- #
- # COPYRIGHT: (c) 1992 Apple Computer Inc.
- # All rights reserved.
- #
- # PURPOSE: This file contains the build commands for the LaserWriterIISC driver.
- #
- # 9/13/93 - dmh - Updated for the b2 seed.
- # 4/26/93 - dmh - Made makefile totally self-supporting for b1 seed.
- #
- #==============================================================================================
-
- #======= Point these variables to your interface and library directories =======
-
- GraphicsInterfaces = 'East Terrace:interfaces & libraries:interfaces:'
- GXLibrariesSources = 'East Terrace:interfaces & libraries:graphics libraries:'
-
-
- #========== Directories Containing Source and Object Files ==========
-
- Objects = :Objects:
- Sources =
-
- PrIncludes = {GraphicsInterfaces}
-
-
- #========== Compiler Options ==========
-
- AsmOptions = -case obj
- RezOptions = -i {GraphicsInterfaces}
- COptions = -b2 -i {GraphicsInterfaces}
- PrLinkOptions = -ra =resSysHeap,resPurgeable
-
-
- #========== Printing Manager Dependent Header Files ==========
-
- PrintManagerHeaderFiles = {PrIncludes}"PrintingManager.h" ∂
- {PrIncludes}"PrintingMessages.h" ∂
- {PrIncludes}"PrintingDrivers.h" ∂
- {PrIncludes}"PrintingExtensions.h" ∂
- {PrIncludes}"Collections.h" ∂
- {PrIncludes}"Messages.h" ∂
- {PrIncludes}"PrintingResTypes.h" ∂
- {PrIncludes}"PrintingErrors.h" ∂
- {PrIncludes}"PrintingResTypes.r"
-
- GraphicsHeaderFiles = {GraphicsInterfaces}"graphics routines.h" ∂
- {GraphicsInterfaces}"graphics libraries.h" ∂
- {GraphicsInterfaces}"math routines.h"
-
-
- #========== Files to Link into OldAPI Segment ==========
-
- OldAPISegObjs = "{Objects}OldAPIMsgJumpTable.a.o" ∂
- "{Objects}OldAPIMessageIntf.c.o" ∂
- ∂
- "{Libraries}"Runtime.o
-
-
- #========== Files to Link into Universal Message Segment ==========
-
- UnivSegObjs = "{Objects}UniversalMsgJumpTable.a.o" ∂
- "{Objects}LaserSCIntf.c.o" ∂
- "{Objects}SCPrinterStatus.c.o" ∂
- "{Objects}UniversalMessageIntf.c.o" ∂
- "{Objects}qd library.c.o" ∂
- "{Objects}color library.c.o" ∂
- "{Libraries}"Runtime.o ∂
- "{CLibraries}"StdCLib.o
-
-
- #========== Files to Link into the Chooser PACK ==========
-
- ChooserPackObjs = "{Objects}ChooserSupport.a.o" ∂
- "{Objects}ChooserSupport.c.o" ∂
- ∂
- "{Libraries}Interface.o"
-
-
- #========== Files to Link into the Chooser LDEF ==========
-
- ChooserLDEFObjs = "{Objects}ChooserSupport.c.o"
-
-
- #========== Link and Rez Build Statements ==========
-
- "LaserWriterIISC" ƒ {OldAPISegObjs} ∂
- {UnivSegObjs} ∂
- {ChooserPackObjs} ∂
- {ChooserLDEFObjs} ∂
- "{Sources}LaserWriterIISC.make" ∂
- "{Sources}Resources.r" ∂
- "{Sources}OldAPIResources.r" ∂
- "{Sources}UniversalMessageResources.r"
- Echo "Linking LaserWriterIISC"
- Link {UnivSegObjs} ∂
- {PrLinkOptions} ∂
- -rt pdvr=0 ∂
- -sg "LaserWriterIISC" ∂
- -m SD_UniversalMsgJumpTable ∂
- -o "{Objects}LWSC_UnivSeg"
- Link {OldAPISegObjs} ∂
- {PrLinkOptions} ∂
- -rt pdvr=1 ∂
- -sg "LaserWriterIISC" ∂
- -m SD_OldAPIMsgJumpTable ∂
- -o "{Objects}LWSC_OldAPISeg"
- Link {ChooserPackObjs} ∂
- -rt PACK=-4096 ∂
- -sg PrintingPACK ∂
- -m EntryPoint ∂
- -o "{Objects}LWSC_PACK"
- Link {ChooserLDEFObjs} ∂
- -w ∂
- -rt LDEF=-4096 ∂
- -sg LDEF ∂
- -m LDEF ∂
- -o "{Objects}LWSC_LDEF"
- Echo "Rezzing LaserWriterIISC Driver"
- Rez -rd -i {PrIncludes} -c 'lwsc' -t 'pdvr' -ov -s {Objects} ∂
- -o "LaserWriterIISC" "{Sources}Resources.r" "{Sources}OldAPIResources.r" ∂
- "{Sources}UniversalMessageResources.r" "{Sources}ChooserSupport.r" -append
-
-
- #========== Assemble Build Statements - OldAPIMsgJumpTable.a ==========
-
- "{Objects}OldAPIMsgJumpTable.a.o" ƒ "{Sources}OldAPIMsgJumpTable.a" ∂
- "{Sources}LaserWriterIISC.make"
- Echo "Assembling OldAPIMsgJumpTable.a"
- Asm {AsmOptions} {MakeJumpTable} {Sources}OldAPIMsgJumpTable.a -o {Objects}OldAPIMsgJumpTable.a.o
-
-
- #========== Assemble Build Statements - UniversalMsgJumpTable.a ==========
-
- "{Objects}UniversalMsgJumpTable.a.o" ƒ "{Sources}UniversalMsgJumpTable.a" ∂
- "{Sources}LaserWriterIISC.make"
- Echo "Assembling UniversalMsgJumpTable.a"
- Asm {AsmOptions} {MakeJumpTable} {Sources}UniversalMsgJumpTable.a -o {Objects}UniversalMsgJumpTable.a.o
-
-
- #========== Assemble Build Statements - ChooserSupport.a ==========
-
- "{Objects}ChooserSupport.a.o" ƒ "{Sources}ChooserSupport.a" ∂
- "{Sources}LaserWriterIISC.make"
- Echo "Assembling ChooserSupport.a"
- Asm {AsmOptions} {MakeJumpTable} {Sources}ChooserSupport.a -o {Objects}ChooserSupport.a.o
-
-
- #========== Compile Build Statements - LaserSCIntf.c ==========
-
- "{Objects}qd library.c.o" ƒ {GXLibrariesSources}"qd library.c"
- Echo "compiling qd library.c"
- C {COptions} -o {Objects} {GXLibrariesSources}"qd library.c"
-
- "{Objects}color library.c.o" ƒ {GXLibrariesSources}"color library.c"
- Echo "compiling color library.c"
- C {COptions} -o {Objects} {GXLibrariesSources}"color library.c"
-
- "{Objects}LaserSCIntf.c.o" ƒ "{Sources}LaserSCIntf.c" ∂
- {PrintManagerHeaderFiles} ∂
- {GraphicsHeaderFiles} ∂
- "{Sources}LaserWriterIISC.make" ∂
- "{Sources}Resources.h" ∂
- "{Sources}LaserSCIntf.h"
- Echo "Compiling LaserSCIntf.c"
- C "{Sources}LaserSCIntf.c" -o "{Objects}LaserSCIntf.c.o" {COptions}
-
-
- #========== Compile Build Statements - OldAPIMessageIntf.c ==========
-
- "{Objects}OldAPIMessageIntf.c.o" ƒ "{Sources}OldAPIMessageIntf.c" ∂
- {PrintManagerHeaderFiles} ∂
- {GraphicsHeaderFiles} ∂
- "{Sources}LaserWriterIISC.make" ∂
- "{Sources}Resources.h" ∂
- "{Sources}OldAPIMessageIntf.h"
- Echo "Compiling OldAPIMessageIntf.c"
- C "{Sources}OldAPIMessageIntf.c" -o "{Objects}OldAPIMessageIntf.c.o" {COptions}
-
-
- #========== Compile Build Statements - SCPrinterStatus.c ==========
-
- "{Objects}SCPrinterStatus.c.o" ƒ "{Sources}SCPrinterStatus.c" ∂
- {PrintManagerHeaderFiles} ∂
- {GraphicsHeaderFiles} ∂
- "{Sources}LaserWriterIISC.make" ∂
- "{Sources}Resources.h" ∂
- "{Sources}LaserSCIntf.h" ∂
- "{Sources}SCPrinterStatus.h"
- Echo "Compiling SCPrinterStatus.c"
- C "{Sources}SCPrinterStatus.c" -o "{Objects}SCPrinterStatus.c.o" {COptions}
-
-
- #========== Compile Build Statements - UniversalMessageIntf.c ==========
-
- "{Objects}UniversalMessageIntf.c.o" ƒ "{Sources}UniversalMessageIntf.c" ∂
- {PrintManagerHeaderFiles} ∂
- {GraphicsHeaderFiles} ∂
- "{Sources}LaserWriterIISC.make" ∂
- "{Sources}Resources.h" ∂
- "{Sources}LaserSCIntf.h" ∂
- "{Sources}SCPrinterStatus.h" ∂
- "{Sources}UniversalMessageIntf.h"
- Echo "Compiling UniversalMessageIntf.c"
- C "{Sources}UniversalMessageIntf.c" -o "{Objects}UniversalMessageIntf.c.o" {COptions}
-
-
- #========== Compile Build Statements - ChooserSupport.c ==========
-
- "{Objects}ChooserSupport.c.o" ƒ "{Sources}ChooserSupport.c" ∂
- {PrintManagerHeaderFiles} ∂
- {GraphicsHeaderFiles} ∂
- "{Sources}LaserWriterIISC.make" ∂
- "{Sources}ChooserSupport.a" ∂
- "{Sources}ChooserSupport.r"
- Echo "Compiling ChooserSupport.c"
- C "{Sources}ChooserSupport.c" -o "{Objects}ChooserSupport.c.o" {COptions}
-
-
-